class Chop extends Action {
    public Chop(Predicate p, int duration) {
        super("Chop", duration);

        addPreconditions(p);
        addToAddList(new Chopped(p));
        addToDeleteList(p);
        addToResources(Resource.KNIFE);
        addToResources(Resource.CUTTING_BOARD);
        addToResources(Resource.HANDS);	
    }

    public Chop() {
        super("Chop", 0);

        addToAddList(new Chopped());
        addToResources(Resource.KNIFE);
        addToResources(Resource.CUTTING_BOARD);
        addToResources(Resource.HANDS);
}	
}